import requests
url='http://www.lndhdx.com/__local/D/D2/4B/F5D90FF2447D5EB49A77E052693_AD5A1B41_3CFA1.jpg'
res=requests.get(url)
#print(res)
with open('1.jpg','wb') as f: #b是二进制写法
        f.write(res.content)  #content 是二进制写法
        res.text 'w'
